package org.lyu.dao;

import java.util.List;

import org.lyu.entity.Pet;

public interface IPetDao {
	
	/**
	 * orm Object Relation Mapping 对象关系映射
	 * 
	 * @return
	 */
	public List<Pet> getAll();
	
	public int add(Pet pet);
	
	public int update(Pet pet);
	
	public int delete(String petName);
	
	public Pet getByName(String petName);

}
